package org.neuedu.chapter06_0618.demo01;

public class StudentDemo {
    public static void main(String[] args) {
        // 创建对象
        // 类型 名称 = new 构造器;
        Student stu1 = new Student();
        stu1.name = "宋达";
        stu1.age = 22;
        stu1.nation = "汉族";

        Student stu2 = new Student("许东明",22,"汉族");

        System.out.println(stu2.name);
    }
}
